<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="sysDefault" />
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">
							数据信息 <a class="btn btn-default btn-sm pull-right" role="button"
								href="javascript:void(0)" onclick="history.go(-1)">返回</a>
						</h3>
					</div>
					<tags:message content="${message}" />
					<table class="table table-bordered">
						<tbody>
							<tr>
								<td class="text-right" style="width: 20%"><strong>ID_:</strong></td>
								<td>${code.id}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>代码类型编号:</strong></td>
								<td>${code.typeNo}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>代码类型名称:</strong></td>
								<td>${code.typeName}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>创建人:</strong></td>
								<td>${code.createBy}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>CREATE_TIME_:</strong></td>
								<td><fmt:formatDate value="${code.createTime}"
										pattern="yyyy-MM-dd HH:mm:ss" /></td>
							</tr>
						</tbody>
					</table>
					<div class="panel-footer"></div>
				</div>


				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">代码明细列表</h3>
					</div>
					<tags:message content="${message}" />
					<table class="table table-striped table-bordered table-hover">

						<thead>
						</thead>

						<thead>
							<tr>
								<th>ID_</th>
								<th>代码ID</th>
								<th>代码编号</th>
								<th>代码描述</th>
								<th>序号</th>
								<th>创建人</th>
								<th>创建日期</th>

							</tr>
						</thead>
						<tbody>
							<c:forEach items="${code.codeDList}" var="codeD">
								<tr>
									<td>${codeD.id}</td>
									<td>${codeD.codeId}</td>
									<td>${codeD.codeNo}</td>
									<td>${codeD.codeName}</td>
									<td>${codeD.xh}</td>
									<td>${codeD.createBy}</td>
									<td><fmt:formatDate value="${codeD.createTime}"
											pattern="yyyy-MM-dd HH:mm:ss" /></td>

								</tr>
							</c:forEach>
						</tbody>
					</table>
					<div class="panel-footer"></div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>